package edu.hpu.mybatis02.mapper;

import edu.hpu.mybatis02.pojo.MallUser;

/**
* @author zjj
* @description 针对表【mall_user】的数据库操作Mapper
* @createDate 2025-01-02 09:10:25
* @Entity edu.hpu.mybatis02.pojo.MallUser
*/
public interface MallUserMapper {
    /**
     * 用用户名查询用户是否存在
     * @param username
     */
    MallUser selectByUsername(String username);

    int deleteByPrimaryKey(Long id);

    int insert(MallUser record);

    int insertSelective(MallUser record);

    MallUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MallUser record);

    int updateByPrimaryKey(MallUser record);

}
